All Questions
1 question
4votes
1answer
2kviews
How to execute as the logged-in user in a sudo script (OSX)?
Is there a way to switch contexts like that? The script in my specific case is an installer postinstall script, which requires sudo privileges only for some of the tasks and requires the logged-in ...